﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace T.FAS.Runtime.Action.SPI
{
    /// <summary>
    /// Action通用返回值结构
    /// </summary>
    [Serializable]
    public class CommonActionResult
    {
        /// <summary>
        /// 请求返回状态：
        /// 0：失败
        /// 1：成功
        /// </summary>
        [DataMember]    
        public int Status { get; set; }
        /// <summary>
        /// 提示信息
        /// </summary>
        [DataMember]    
        public string Message { get; set; }
        /// <summary>
        /// 返回数据的总条数
        /// </summary>
        [DataMember]    
        public int Total { get; set; }
        /// <summary>
        /// 返回的数据内容
        /// </summary>
        [DataMember]
        public object Data { get; set; }
    }
}
